package com.ruoyi.common.core.domain.base.datam;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 渠道断面信息登记对象 st_cross_b
 * 
 * @author hwd
 * @date 2023-02-16
 */
@Data
@TableName("st_cross_b")
public class StCrossB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 断面编码
 */
    private String crossCd;

    /** 断面名称 */
    @Excel(name = "断面名称")
    private String crossNm;

    /** 断面地址 */
    @Excel(name = "断面地址")
    private String crossAddr;

    /** 断面经度 */
    @Excel(name = "断面经度")
    private Long crossE;

    /** 断面纬度 */
    @Excel(name = "断面纬度")
    private Long crossN;

    /** 断面类型 */
    @Excel(name = "断面类型", readConverterExp = "1=控制,2=进水,3=灌溉,4=排水,5=安全,6=其他")
    private String crossType;

    /** 断面形状 */
    @Excel(name = "断面形状", readConverterExp = "1=矩形,2=梯形,3=U型,4=其他")
    private String crossShape;

    /** 渠口宽度 */
    @Excel(name = "渠口宽度")
    private Long topWid;

    /** 渠底宽度 */
    @Excel(name = "渠底宽度")
    private Long bedWid;

    /** 渠深 */
    @Excel(name = "渠深")
    private Long crossH;

    /** 渠底高程 */
    @Excel(name = "渠底高程")
    private Long bedDemo;

    /** 最高水位 */
    @Excel(name = "最高水位")
    private Long maxZ;

    /** 最低水位 */
    @Excel(name = "最低水位")
    private Long minZ;

    /** 所在渠道 */
    @Excel(name = "所在渠道")
    private String chanCd;

    /** 所在渠道 */
    @Excel(name = "渠道名称")
    private String chanNm;

    /** 对应水闸 */
    @Excel(name = "对应水闸")
    private String sluCd;

    /** 对应水闸 */
    @Excel(name = "水闸")
    private String sluNm;

    /** 管理机构 */
    @Excel(name = "管理机构")
    private String orgCd;

    /** 管理机构 */
    @Excel(name = "机构名称")
    private String orgNm;

    /** 归属行政区划 */
    @Excel(name = "归属行政区划")
    private String addvCd;

    /** 归属行政区划 */
    @Excel(name = "行政区划")
    private String addvNm;

    /** 设置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crossDate;

    /** 备注 */
    @Excel(name = "备注")
    private String crossMark;

    public void setCrossCd(String crossCd) 
    {
        this.crossCd = crossCd;
    }

    public String getCrossCd() 
    {
        return crossCd;
    }
    public void setCrossNm(String crossNm) 
    {
        this.crossNm = crossNm;
    }

    public String getCrossNm() 
    {
        return crossNm;
    }
    public void setCrossAddr(String crossAddr) 
    {
        this.crossAddr = crossAddr;
    }

    public String getCrossAddr() 
    {
        return crossAddr;
    }
    public void setCrossE(Long crossE) 
    {
        this.crossE = crossE;
    }

    public Long getCrossE() 
    {
        return crossE;
    }
    public void setCrossN(Long crossN) 
    {
        this.crossN = crossN;
    }

    public Long getCrossN() 
    {
        return crossN;
    }
    public void setCrossType(String crossType) 
    {
        this.crossType = crossType;
    }

    public String getCrossType() 
    {
        return crossType;
    }
    public void setCrossShape(String crossShape) 
    {
        this.crossShape = crossShape;
    }

    public String getCrossShape() 
    {
        return crossShape;
    }
    public void setTopWid(Long topWid) 
    {
        this.topWid = topWid;
    }

    public Long getTopWid() 
    {
        return topWid;
    }
    public void setBedWid(Long bedWid) 
    {
        this.bedWid = bedWid;
    }

    public Long getBedWid() 
    {
        return bedWid;
    }
    public void setCrossH(Long crossH) 
    {
        this.crossH = crossH;
    }

    public Long getCrossH() 
    {
        return crossH;
    }
    public void setBedDemo(Long bedDemo) 
    {
        this.bedDemo = bedDemo;
    }

    public Long getBedDemo() 
    {
        return bedDemo;
    }
    public void setMaxZ(Long maxZ) 
    {
        this.maxZ = maxZ;
    }

    public Long getMaxZ() 
    {
        return maxZ;
    }
    public void setMinZ(Long minZ) 
    {
        this.minZ = minZ;
    }

    public Long getMinZ() 
    {
        return minZ;
    }
    public void setChanCd(String chanCd) 
    {
        this.chanCd = chanCd;
    }

    public String getChanCd() 
    {
        return chanCd;
    }
    public void setSluCd(String sluCd) 
    {
        this.sluCd = sluCd;
    }

    public String getSluCd() 
    {
        return sluCd;
    }
    public void setOrgCd(String orgCd) 
    {
        this.orgCd = orgCd;
    }

    public String getOrgCd() 
    {
        return orgCd;
    }
    public void setAddvCd(String addvCd) 
    {
        this.addvCd = addvCd;
    }

    public String getAddvCd() 
    {
        return addvCd;
    }
    public void setCrossDate(Date crossDate) 
    {
        this.crossDate = crossDate;
    }

    public Date getCrossDate() 
    {
        return crossDate;
    }
    public void setCrossMark(String crossMark) 
    {
        this.crossMark = crossMark;
    }

    public String getCrossMark() 
    {
        return crossMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("crossCd", getCrossCd())
            .append("crossNm", getCrossNm())
            .append("crossAddr", getCrossAddr())
            .append("crossE", getCrossE())
            .append("crossN", getCrossN())
            .append("crossType", getCrossType())
            .append("crossShape", getCrossShape())
            .append("topWid", getTopWid())
            .append("bedWid", getBedWid())
            .append("crossH", getCrossH())
            .append("bedDemo", getBedDemo())
            .append("maxZ", getMaxZ())
            .append("minZ", getMinZ())
            .append("chanCd", getChanCd())
            .append("sluCd", getSluCd())
            .append("orgCd", getOrgCd())
            .append("addvCd", getAddvCd())
            .append("crossDate", getCrossDate())
            .append("crossMark", getCrossMark())
            .toString();
    }
}
